* {
    margin: 0;
    padding: 0;
    font-size: 20px;
  }
  
  ul, ol, li {
    list-style: none;
  }
  
  a, a:link, a:active, a:hover {
    text-decoration: none;
    color: #333;
  }
  
  input, button, textarea, select {
    outline: none;
  }
  
  button, select {
    cursor: pointer;
  }
  
  img {
    width: 100%;
    height: 100%;
    display: block;
  }
  
  .container {
    width: 1200px;
    margin: 0 auto;
  }
  
  .header,
  .footer {
    height: 60px;
    background-color: skyblue;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .header > span {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
  }
  
  .header > p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    display: none;
  }
  
  .header > p.active {
    display: block;
  }
  
  body{
  background-color: #F2F2F2;
  }
  
  
  
  .box {
    border: 1px solid #333;
    box-sizing: border-box;
    margin: 20px auto;
    padding: 15px;
  }
  
  .box > .item {
    display: flex;
    margin-bottom: 15px;
  }
  
  .box > .item > p {
    width: 150px;
    text-align: center;
    padding-top: 5px;
  }
  
  .box > .item > ul {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
  }
  
  .box > .item > ul > li {
    padding: 5px 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
  }
  
  .box > .item > ul > li.active,
  .box > .item > ul > li:hover {
    background-color: pink;
    color: #fff;
  }
  
  .box > .item > ul > input {
    height: 30px;
    padding-left: 20px;
  }
  
  .box > .item > div {
    display: flex;
    align-items: center;
  }
  
  .box > .item > div > span {
    padding: 5px 10px;
  }
  
  .box > .item > div > span.left,
  .box > .item > div > span.right {
    background-color: skyblue;
    cursor: pointer;
  }
  
  .box > .item > div > span.disable {
    background-color: #ccc;
    cursor: not-allowed;
  }
  
  .box > .item > select {
    padding-left: 20px;
    margin: 0 30px;
    width: 100px;
  }
  
  .box > .item > input {
    width: 50px;
    text-align: center;
    margin-right: 10px;
  }
  
  
  .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .content > li {
    width: 280px;
    border: 1px solid #333;
    height: 500px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
  }
  
  .content > li > * {
    pointer-events: none;
  }
  
  .content > li > .info > button {
    pointer-events: all;
  }
  
  .content > li > .show {
    width: 100%;
    height: 280px;
    position: relative;
  }
  
  .content > li > .show > span {
    padding: 3px 10px;
    position: absolute;
    top: 0;
    right: 0;
    background-color: red;
    display: none;
  }
  
  .content > li > .show > span.sale {
    background-color: orange;
    right: 80px;
  }
  
  .content > li > .show > span.active {
    display: block;
  }
  
  .content > li > .info {
    flex: 1;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .content > li > .info > p.title {
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
  }
  
  .content > li > .info > p.price {
    display: flex;
    justify-content: space-between;
  }
  
  .content > li > .info > p.price > .current {
    font-size: 24px;
    color: red;
  }
  
  .content > li > .info > p.price > .old {
    font-size: 16px;
    text-decoration: line-through;
  }
  
  .content > li > .info > button {
    padding: 5px;
  }
  
  
  
  .wen_heart,.footer_heart{
    width: 1190px;
    margin: auto;
    height: 100%;
  }
  
  
  #wen{
    border-top: 1px solid #E7E7E7;
    height: 300px;
    background-color: #F5F5F5;
  
    .wen_top{
      list-style: none;
      width: 100%;
      height: 70px;
      background-color: #F5F3F3;
      border-bottom: 1px solid #E7E7E7;
    
      display: flex;
      justify-content: space-around;
      align-items: center;
    
      padding-bottom: 24px;
      li{
        display: flex;
    
        div{
          margin-left: 10px;
    
          .wen_p{
            font-size: 16px;
            font-weight: 900;
            color: black;
          }
    
          .wen_p1{
            margin-top: 10px;
            color: #545454;
            font-size: 12px;
          }
        }
      }
      img{
        width: 48px;
        height: 48px;
      }
    }
    
    
    .wen_p:hover{
      color: orange;
    }
    
    
    .wen_footer{
      width: 100%;
      height: 230px;
      display: flex;
      justify-content: space-between;
    
      .wen_left{
        width: 890px;
        height: 100%;
      
        display: flex;
        justify-content: space-between;
    
        ul{
          margin-top: 20px;
    
          li{
            margin-top: 8px;
            font-size: 12px;
            color: #757575;
          }
        }
      }
    
      .wen_right{
        width: 250px;
        height: 100%;
    
        ul{
          margin-top: 20px;
          margin-left: 120px;
          width: 89px;
    
          li{
            margin-top: 8px;
            font-size: 12px;
            color: #757575;
            line-height: 16px;
          }
        }
      }
    }
    
    .wen_left ul li:hover{
      color: red;
    }
    
     
    .wen_right,.wen_left ul p{
      font-weight: 900;
      color: #545466;
      margin-bottom: 10px;
    }
  }
  
  
  
  #footer{
    height: 30px;
    .footer_heart p{
      color: rgba(0, 255, 255, .6);
      font-size: 16px;
      line-height: 30px;
      text-align: center;
    }
  }
  